function login()
{
    $("#li_notice").html("");
    $('button').click(
        function(e)
        {
            e.preventDefault();
            $.post(getBaseURL() + "ajax_accounts/login",
            { username: document.getElementById('user').value, password: document.getElementById('pword').value },
                function(data)
                {
                    if(data)
                    {
                        $("#li_notice").html("The Username and Password are incorrect");
                    }
                }
            );
        }
    );
}